home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / New System Software Extensions / OpenDoc A6 / SOM / OpenDoc and SOM / IDL / WinIter.idl < prev    next >
Encoding:
Text File  |  1994-04-19  |  1.3 KB  |  60 lines  |  [TEXT/MPS ]

  1. //# Copyright:    © 1993-94 by Apple Computer, Inc., all rights reserved.
  2. #ifndef _WINITER_
  3. #define _WINITER_
  4.  
  5. #ifndef _ODOBJECT_
  6. #include "ODObject.idl"
  7. #endif
  8.  
  9. //=====================================================================================
  10. // Classes defined in this interface
  11. //=====================================================================================
  12.  
  13. interface  ODWindowIterator;        // An iterator for all windows
  14.  
  15. //=====================================================================================
  16. // Classes used by this interface
  17. //=====================================================================================
  18.  
  19. interface  ODWindowState;
  20. interface  ODWindow;
  21.  
  22.  
  23. //=====================================================================================
  24. // Class ODWindowIterator
  25. //=====================================================================================
  26.  
  27. interface ODWindowIterator : ODObject
  28. {
  29.  
  30.      ODWindow First();
  31.  
  32.     ODWindow Next();
  33.  
  34.     ODWindow Last();
  35.  
  36.     ODWindow Previous();
  37.  
  38.     ODBoolean IsNotComplete();
  39.  
  40. #ifdef __SOMIDL__
  41.     implementation
  42.     {
  43.     override:
  44.         somInit,
  45.         somUninit;
  46.     releaseorder:
  47.         InitWindowIterator,
  48.         First,
  49.         Next,
  50.         Last,
  51.         Previous,
  52.         IsNotComplete;
  53.         
  54.  
  55.       };
  56. #endif
  57. };
  58.  
  59. #endif // _WINITER_
  60.